package com.woniuxy.caradmin.service;

import com.woniuxy.caradmin.entity.pojo.Unit;
import com.woniuxy.caradmin.entity.vo.UnitVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author womenzu
 * @since 2020-12-07
 */
public interface UnitService {
    public List<Unit> selectUnitAll();
    public Unit selectUnitById(Integer id);
    public boolean addUnit(Unit unitAdd);
    public boolean removeUnitById(Integer id);
    public boolean updateUnit(Unit unitUpd);
    public List<Unit> selectUnitByPage(UnitVo unitVo);
}
